<h1><%= t(".title") %></h1>

<%= render :partial => "navi" %>

<applet archive="appletlaunch.jar" id="marvin-applet" codebase="<%= root_path + "marvin" %>"
  code="chemaxon.marvin.applet.JMSketchLaunch" width="960" height="400"
  alt="<%= t 'error.browser.java' %>"/>

<input type="submit" value="<%= t('.save_molfile') %>"
       onclick="$('#job_mol_file').val('' + document.applets['marvin-applet'].getMol('mol')); flash('notice', '<%= t('notifications.jobs.new.molecule_selected') %>');"
       title="<%= t '.tooltip.save_molfile' %>" id="save-mol-file"/>

<% form_for(@job) do |form| %>
<%= form.error_messages %>
<%= form.hidden_field(:mol_file) %>
<ol>
  <li>
    <%= render :partial => "additional_parameters", :locals => { :form => form } %>
  </li>
  <li>
    <%= form.submit(t('generic.submit'), :title => t('.tooltip.submit')) %>
  </li>
</ol>
<% end %>
